home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / misc / URLClassPath$3.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.3 KB  |  27 lines

  1. package sun.misc;
  2.  
  3. import java.io.IOException;
  4. import java.net.URL;
  5. import java.security.PrivilegedExceptionAction;
  6.  
  7. final class URLClassPath$3 implements PrivilegedExceptionAction {
  8.    // $FF: synthetic field
  9.    final URL val$url;
  10.    // $FF: synthetic field
  11.    final URLClassPath this$0;
  12.  
  13.    URLClassPath$3(URLClassPath var1, URL var2) {
  14.       this.this$0 = var1;
  15.       this.val$url = var2;
  16.    }
  17.  
  18.    public Object run() throws IOException {
  19.       String var1 = this.val$url.getFile();
  20.       if (var1 != null && var1.endsWith("/")) {
  21.          return "file".equals(this.val$url.getProtocol()) ? new URLClassPath.FileLoader(this.val$url) : new URLClassPath.Loader(this.val$url);
  22.       } else {
  23.          return new URLClassPath.JarLoader(this.val$url, URLClassPath.access$100(this.this$0), this.this$0.lmap);
  24.       }
  25.    }
  26. }
  27.